package org.lightdi.container.factory;

import java.util.Map;
import java.util.concurrent.ConcurrentHashMap;

import org.lightdi.container.DIContainer;
import org.lightdi.container.config.ContainerConfig;

class LightDIContainerManager {

	private Map<String, ContainerConfig> registeredConfigXMLs = new ConcurrentHashMap<String, ContainerConfig>();
	private Map<String, DIContainer> loadedContainers = new ConcurrentHashMap<String, DIContainer>();
	private Map<String, ContainerConfig> registeredContainerConfigs = new ConcurrentHashMap<String, ContainerConfig>();

	public Map<String, ContainerConfig> getRegisteredConfigXMLs() {
		return registeredConfigXMLs;
	}

	public void setRegisteredConfigXMLs(
			Map<String, ContainerConfig> registeredConfigXMLs) {
		this.registeredConfigXMLs = registeredConfigXMLs;
	}

	public Map<String, DIContainer> getLoadedContainers() {
		return loadedContainers;
	}

	public void setLoadedContainers(Map<String, DIContainer> loadedContainers) {
		this.loadedContainers = loadedContainers;
	}

	public Map<String, ContainerConfig> getRegisteredContainerConfigs() {
		return registeredContainerConfigs;
	}

	public void setRegisteredContainerConfigs(
			Map<String, ContainerConfig> registeredContainerConfigs) {
		this.registeredContainerConfigs = registeredContainerConfigs;
	}

}
